﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Main.Master" AutoEventWireup="true"
    CodeBehind="SpecificationManage.aspx.cs" Inherits="ATW.MT.SellManage.SpecificationManage" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cp01" runat="server">
    <div class="main_hd">
        <h2 style="padding: 0px 20px;">
            产品规格管理
        </h2>
        <div class="title_tab" id="topTab">
            <div>
                <ul>
                    <li class="nvgBtn" id="liM">
                        <asp:LinkButton runat="server" ID="btnMaterial" OnClick="btnMaterial_Click">材质管理</asp:LinkButton></li>
                    <li class="nvgBtn" id="liS">
                        <asp:LinkButton runat="server" ID="btnSize" OnClick="btnSize_Click">口径管理</asp:LinkButton></li>
                    <li class="nvgBtn" id="liP">
                        <asp:LinkButton runat="server" ID="btnPressure" OnClick="btnPressure_Click">压力等级管理</asp:LinkButton></li>
                    <li class="nvgBtn" id="liD">
                        <asp:LinkButton runat="server" ID="btnDesign" OnClick="btnDesign_Click">设计标准管理</asp:LinkButton></li>
                    <li class="nvgBtn" id="liC">
                        <asp:LinkButton runat="server" ID="btnConnection" OnClick="btnConn_Click">连接方式管理</asp:LinkButton></li>
                    <li class="nvgBtn" id="liF">
                        <asp:LinkButton runat="server" ID="btnFran" OnClick="btnFran_Click">法兰标准管理</asp:LinkButton>
                    </li>
                    <li class="nvgBtn" id="liSt">
                        <asp:LinkButton runat="server" ID="btnStruct" OnClick="btnStruct_Click">结构标准管理</asp:LinkButton>
                    </li>
                    <li class="nvgBtn" id="liSe">
                        <asp:LinkButton runat="server" ID="btnSeal" OnClick="btnSeal_Click">密封标准管理</asp:LinkButton>
                    </li>
                    <li class="nvgBtn" id="liTe">
                        <asp:LinkButton runat="server" ID="btnTemp" OnClick="btnTemp_Click">温度管理</asp:LinkButton>
                    </li>
                </ul>
            </div>
        </div>
        <div style="clear: both">
        </div>
        <div id="divMaterial" runat="server" style="display: none; margin-top: 12px">
            <!--材质管理-->
            <ul>
                <li>材质编号：&nbsp;<input type="text" id="txtMaterialName" runat="server" />
                    &nbsp; &nbsp; &nbsp;
                    <asp:Button runat="server" ID="btnMaterialSearch" Text="搜索" class="MaintenanceButton"
                        OnClick="btnSearch_Click" Style="background: #d91913; outline: none; border: none;
                        color: White; padding: 5px 20px;" />
                    <asp:LinkButton runat="server" ID="btnAddM" OnClick="btnAddM_Click" Style="color: White;
                        text-decoration: none" CssClass="queryButton">新增材质</asp:LinkButton>
                    &nbsp; &nbsp; &nbsp; </li>
                <li id="liAddMt" runat="server" visible="false" style="margin-top: 12px">&nbsp;材质编号（锻件）：&nbsp;<asp:TextBox
                    runat="server" ID="txtAddCodeD"></asp:TextBox>&nbsp; 材质编号（铸件）：&nbsp;<asp:TextBox
                        runat="server" ID="txtAddCodeZ"></asp:TextBox>&nbsp;材质价格系数：&nbsp;<asp:TextBox runat="server"
                            ID="txtMaterialRate" Style="width: 75px"></asp:TextBox>&nbsp;&nbsp;&nbsp;
                    <asp:LinkButton runat="server" ID="lbnSaveNewMaterial" OnClick="lbnSaveNewMaterial_Click"
                        CssClass="queryButton" Style="color: White">保存</asp:LinkButton></li>
                <li style="margin-top: 10px; display:none"><span>注：不区分铸锻件时只需填写锻件编号</span></li>
            </ul>
            <asp:Repeater runat="server" ID="rpListM">
                <HeaderTemplate>
                    <table border="0" cellpadding="0" cellspacing="0" class="queryResultTable" width="94%">
                        <tr>
                            <th>
                                材质编号(锻件)
                            </th>
                            <th>
                                材质编号（铸件）
                            </th>
                            <th>
                                价格系数
                            </th>
                            <th>
                                添加时间
                            </th>
                            <th>
                                操作
                            </th>
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td>
                            <asp:Label runat="server" ID="lblCode" Text='<%#Eval("code_d").ToString()%>'></asp:Label>
                            <asp:TextBox runat="server" ID="txtCode" Visible="false"></asp:TextBox>
                        </td>
                        <td>
                            <asp:Label runat="server" ID="lblCode_Z" Text='<%#Eval("code_z").ToString()==""?"无":Eval("code_z").ToString() %>'></asp:Label>
                            <asp:TextBox runat="server" ID="txtCode_Z" Visible="false"></asp:TextBox>
                        </td>
                        <td>
                            <asp:Label runat="server" ID="lblRate" Text='<%#Eval("rate").ToString() %>'></asp:Label>
                            <asp:TextBox runat="server" ID="txtRate" Visible="false"></asp:TextBox>
                        </td>
                        <td>
                            <%#Eval("create_time").ToString() %>
                        </td>
                        <td>
                            <asp:LinkButton runat="server" ID="lbnEditMaterial" OnClick="lbnEditMaterial_Click">编辑</asp:LinkButton>
                            <asp:LinkButton runat="server" ID="lbnSaveMaterial" OnClick="lbnSaveMaterial_Click"
                                Visible="false" CommandArgument='<%#Eval("mid").ToString() %>'>保存</asp:LinkButton>
                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
        </div>
        <div id="divSize" runat="server" style="display: none; margin-top: 12px">
            <!--口径管理-->
            <ul>
                <li>口径编号：&nbsp;<input type="text" id="txtSize" runat="server" />
                    &nbsp; &nbsp; &nbsp;
                    <asp:Button runat="server" ID="Button1" Text="搜索" class="MaintenanceButton" OnClick="btnSearch_Click"
                        Style="background: #d91913; outline: none; border: none; color: White; padding: 5px 20px;" />
                    <asp:LinkButton runat="server" ID="lbnAddSize" OnClick="lbnAddSize_Click" Style="color: White;
                        text-decoration: none" CssClass="queryButton">新增口径</asp:LinkButton>
                    &nbsp; &nbsp; &nbsp; </li>
            </ul>
            <asp:Repeater runat="server" ID="rpListS">
                <HeaderTemplate>
                    <table border="0" cellpadding="0" cellspacing="0" class="queryResultTable" width="94%">
                        <tr>
                            <th>
                                口径编号（公制）
                            </th>
                            <th>
                                口径编号（ANSI制）
                            </th>
                            <th>
                                口径价格系数
                            </th>
                            <th>
                                添加时间
                            </th>
                            <th>
                                操作
                            </th>
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td>
                            <asp:Label runat="server" ID="lblCode_C" Text='<%#Eval("Size_Code_C") %>'></asp:Label>
                            <asp:TextBox runat="server" ID="txtCode_C" Visible="false"></asp:TextBox>
                        </td>
                        <td>
                            <asp:Label runat="server" ID="lblCode_S" Text='<%#Eval("Size_Code_S") %>'></asp:Label>
                            <asp:TextBox runat="server" ID="txtCode_S" Visible="false"></asp:TextBox>
                        </td>
                        <td>
                            <asp:Label runat="server" ID="lblRate" Text=' <%#Eval("Size_rate").ToString()%>'></asp:Label>
                            <asp:TextBox runat="server" ID="txtRate" Visible="false"></asp:TextBox>
                        </td>
                        <td>
                            <asp:Label runat="server" Text='<%#Eval("create_time") %>'></asp:Label>
                        </td>
                        <td>
                            <asp:LinkButton runat="server" ID="btnSizeEdit" OnClick="btnSizeEdit_Click">
                                编辑
                            </asp:LinkButton>
                            <asp:LinkButton runat="server" ID="btnSizeSaveEdit" OnClick="btnSizeSaveEdit_Click"
                                CommandArgument='<%#Eval("Sid").ToString()%>' Visible="false">保存</asp:LinkButton>
                            <asp:HiddenField runat="server" ID="hdfSid" Value='<%#Eval("sid").ToString() %>' />
                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
        </div>
        <div id="divPressure" runat="server" style="display: none; margin-top: 12px">
            <!--压力等级管理-->
            <ul>
                <li>压力等级编号：&nbsp;<input type="text" id="txtPressure" runat="server" />
                    &nbsp; &nbsp; &nbsp;
                    <asp:Button runat="server" ID="Button2" Text="搜索" class="MaintenanceButton" OnClick="btnSearch_Click"
                        Style="background: #d91913; outline: none; border: none; color: White; padding: 5px 20px;" />
                    <asp:LinkButton runat="server" ID="lbnAddPressure" OnClick="lbnAddPressure_Click"
                        Style="color: White; text-decoration: none" CssClass="queryButton">新增压力等级</asp:LinkButton>
                    &nbsp; &nbsp; &nbsp; </li>
            </ul>
            <asp:Repeater runat="server" ID="rpListP">
                <HeaderTemplate>
                    <table border="0" cellpadding="0" cellspacing="0" class="queryResultTable" width="94%">
                        <tr>
                            <th>
                                压力等级编号（公制）
                            </th>
                            <th>
                                压力等级编号（ANSI制）
                            </th>
                            <th>
                                压力等级价格系数
                            </th>
                            <th>
                                添加时间
                            </th>
                            <th>
                                操作
                            </th>
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td>
                            <asp:Label runat="server" ID="lblCode_C" Text='<%#Eval("Pressure_Code_C").ToString() %>'></asp:Label>
                            <asp:TextBox runat="server" ID="txtCode_C" Visible="false"></asp:TextBox>
                        </td>
                        <td>
                            <asp:Label runat="server" ID="lblCode_S" Text='<%#Eval("Pressure_Code_S").ToString() %>'></asp:Label>
                            <asp:TextBox runat="server" ID="txtCode_S" Visible="false"></asp:TextBox>
                        </td>
                        <td>
                            <asp:Label runat="server" ID="lblRate" Text='<%#Eval("Pressure_rate").ToString() %>'></asp:Label>
                            <asp:TextBox runat="server" ID="txtRate" Visible="false"></asp:TextBox>
                        </td>
                        <td>
                            <asp:Label ID="Label1" runat="server" Text='<%#Eval("create_time") %>'></asp:Label>
                        </td>
                        <td>
                            <asp:LinkButton runat="server" ID="btnPressureEdit" OnClick="btnPressureEdit_Click">
                                编辑
                            </asp:LinkButton>
                            <asp:LinkButton runat="server" ID="btnPressureSaveEdit" OnClick="btnPressureSaveEdit_Click"
                                CommandArgument='<%#Eval("PressureID").ToString()%>' Visible="false">保存</asp:LinkButton>
                            <asp:HiddenField runat="server" ID="hdfPid" Value='<%#Eval("PressureID").ToString() %>' />
                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
        </div>
        <div id="divDesign" runat="server" style="display: none; margin-top: 12px">
            <!--设计管理-->
            <ul>
                <li>设计标准：&nbsp;<input type="text" id="txtDesign" runat="server" />
                    &nbsp; &nbsp; &nbsp;
                    <asp:Button runat="server" ID="Button3" Text="搜索" class="MaintenanceButton" OnClick="btnSearch_Click"
                        Style="background: #d91913; outline: none; border: none; color: White; padding: 5px 20px;
                        text-indent: 0px" />
                    <asp:LinkButton runat="server" ID="lbnAddDesign" OnClick="lbnAddDesign_Click" Style="color: White;
                        text-decoration: none" CssClass="queryButton">新增标准</asp:LinkButton>
                    &nbsp; &nbsp; &nbsp; </li>
                <li id="liAdd" runat="server" visible="false" style="margin-top: 7px;">新增标准：&nbsp;<asp:TextBox
                    runat="server" ID="txtAddDesign"></asp:TextBox>&nbsp; &nbsp; &nbsp;&nbsp;
                    <asp:LinkButton runat="server" ID="lbnSaveNewDesign" OnClick="SaveNewDesign_Click"
                        CssClass="queryButton" Style="color: White; text-decoration: none; padding: 5px 20px;">保存</asp:LinkButton>
                </li>
            </ul>
            <asp:Repeater runat="server" ID="rpListDesign">
                <HeaderTemplate>
                    <table border="0" cellpadding="0" cellspacing="0" class="queryResultTable" width="94%">
                        <tr>
                            <th>
                                设计标准名称
                            </th>
                            <th>
                                添加时间
                            </th>
                            <th>
                                操作
                            </th>
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td>
                            <asp:Label runat="server" ID="lblCode" Text='<%#Eval("Desc").ToString() %>'></asp:Label>
                            <asp:TextBox runat="server" ID="txtCode" Visible="false"></asp:TextBox>
                        </td>
                        <td>
                            <asp:Label ID="Label1" runat="server" Text='<%#Eval("create_time") %>'></asp:Label>
                        </td>
                        <td>
                            <asp:LinkButton runat="server" ID="btnDesignEdit" OnClick="btnDesignEdit_Click">
                                编辑
                            </asp:LinkButton>
                            <asp:LinkButton runat="server" ID="btnDesignSaveEdit" OnClick="btnDesignSaveEdit_Click"
                                CommandArgument='<%#Eval("DesignLevelID").ToString()%>' Visible="false">保存</asp:LinkButton>
                            <asp:HiddenField runat="server" ID="hdfPid" Value='<%#Eval("DesignLevelID").ToString() %>' />
                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
        </div>
        <div id="divConn" runat="server" style="display: none; margin-top: 12px">
            <!--连接方式管理-->
            <ul>
                <li>连接方式：&nbsp;<input type="text" id="txtConn" runat="server" />
                    &nbsp; &nbsp; &nbsp;
                    <asp:Button runat="server" ID="Button4" Text="搜索" class="MaintenanceButton" OnClick="btnSearch_Click"
                        Style="background: #d91913; outline: none; border: none; color: White; padding: 5px 20px;" />
                    <asp:LinkButton runat="server" ID="LinkButton1" OnClick="btnAddC_Click" Style="color: White;
                        text-decoration: none" CssClass="queryButton">新增连接方式</asp:LinkButton>
                    &nbsp; &nbsp; &nbsp; </li>
            </ul>
            <asp:Repeater runat="server" ID="rpListC">
                <HeaderTemplate>
                    <table border="0" cellpadding="0" cellspacing="0" class="queryResultTable" width="94%">
                        <tr>
                            <th>
                                连接方式
                            </th>
                            <th>
                                缩写
                            </th>
                            <th>
                                添加时间
                            </th>
                            <th>
                                操作
                            </th>
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td>
                            <asp:Label runat="server" ID="lblDesc" Text='<%#Eval("DescZh").ToString()%>'></asp:Label>
                            <asp:TextBox Visible="false" runat="server" ID="txtDesc"></asp:TextBox>
                        </td>
                        <td>
                            <asp:Label runat="server" ID="lbnCode" Text='<%#Eval("DescEn").ToString() %>'></asp:Label>
                            <asp:TextBox runat="server" ID="txtCode" Visible="false"></asp:TextBox>
                        </td>
                        <td>
                            <%#Eval("create_time").ToString() %>
                        </td>
                        <td>
                            <asp:LinkButton runat="server" ID="lbnEditConnDesc" OnClick="lbnEditConnDesc_Click">
                                编辑
                            </asp:LinkButton>
                            <asp:HiddenField runat="server" ID="hdfCid" Value='<%#Eval("Connid").ToString() %>' />
                            <asp:LinkButton runat="server" ID="lbnSaveConnDesc" OnClick="lbnSaveConnDesc_Click"
                                CommandArgument='<%#Eval("Connid").ToString() %>' Visible="false">
                                保存
                            </asp:LinkButton>
                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
        </div>
        <div id="divFran" runat="server" style="display: none; margin-top: 12px">
            <!--法兰标准管理-->
            <ul>
                <li>标准名称：&nbsp;<input type="text" id="txtFran" runat="server" />
                    &nbsp; &nbsp; &nbsp;
                    <asp:Button runat="server" ID="Button5" Text="搜索" class="MaintenanceButton" OnClick="btnSearch_Click"
                        Style="background: #d91913; outline: none; border: none; color: White; padding: 5px 20px;
                        text-indent: 0px" />
                    <asp:LinkButton runat="server" ID="LinkButton2" OnClick="btnAddF_Click" Style="color: White;
                        text-decoration: none" CssClass="queryButton">新增标准</asp:LinkButton>
                    &nbsp; &nbsp; &nbsp; </li>
                <li id="liAddF" runat="server" visible="false" style="margin-top: 7px;">新增标准：&nbsp;<asp:TextBox
                    runat="server" ID="txtAddFran"></asp:TextBox>&nbsp; &nbsp; &nbsp;&nbsp;
                    <asp:LinkButton runat="server" ID="LinkButton3" OnClick="SaveNewFran_Click" CssClass="queryButton"
                        Style="color: White; text-decoration: none; padding: 5px 20px;">保存</asp:LinkButton>
                </li>
            </ul>
            <asp:Repeater runat="server" ID="rpListFran">
                <HeaderTemplate>
                    <table border="0" cellpadding="0" cellspacing="0" class="queryResultTable" width="94%">
                        <tr>
                            <th>
                                标准名称
                            </th>
                            <th>
                                添加时间
                            </th>
                            <th>
                                操作
                            </th>
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td>
                            <asp:Label runat="server" ID="lblDesc" Text='<%#Eval("Desc").ToString()%>'></asp:Label>
                            <asp:TextBox Visible="false" runat="server" ID="txtDesc"></asp:TextBox>
                        </td>
                        <td>
                            <%#Eval("create_time").ToString() %>
                        </td>
                        <td>
                            <asp:LinkButton runat="server" ID="lbnEditFranDesc" OnClick="lbnEditFranDesc_Click">
                                编辑
                            </asp:LinkButton>
                            <asp:HiddenField runat="server" ID="hdfFid" Value='<%#Eval("FranLevelID").ToString() %>' />
                            <asp:LinkButton runat="server" ID="lbnSaveFranDesc" OnClick="lbnSaveFranDesc_Click"
                                CommandArgument='<%#Eval("FranLevelID").ToString() %>' Visible="false">
                                保存
                            </asp:LinkButton>
                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
        </div>
        <div id="divStruct" runat="server" style="display: none; margin-top: 12px">
            <!--结构长度标准表-->
            <ul>
                <li>标准名称：&nbsp;<input type="text" id="txtStruct" runat="server" />
                    &nbsp; &nbsp; &nbsp;
                    <asp:Button runat="server" ID="Button6" Text="搜索" class="MaintenanceButton" OnClick="btnSearch_Click"
                        Style="background: #d91913; outline: none; border: none; color: White; padding: 5px 20px;
                        text-indent: 0px" />
                    <asp:LinkButton runat="server" ID="LinkButton4" OnClick="btnAddS_Click" Style="color: White;
                        text-decoration: none" CssClass="queryButton">新增标准</asp:LinkButton>
                    &nbsp; &nbsp; &nbsp; </li>
                <li id="liAddStruct" runat="server" visible="false" style="margin-top: 7px;">新增标准：&nbsp;<asp:TextBox
                    runat="server" ID="txtStructAdd"></asp:TextBox>&nbsp; &nbsp; &nbsp;&nbsp;
                    <asp:LinkButton runat="server" ID="LinkButton5" OnClick="SaveNewStruct_Click" CssClass="queryButton"
                        Style="color: White; text-decoration: none; padding: 5px 20px;">保存</asp:LinkButton>
                </li>
            </ul>
            <asp:Repeater runat="server" ID="rpListStruct">
                <HeaderTemplate>
                    <table border="0" cellpadding="0" cellspacing="0" class="queryResultTable" width="94%">
                        <tr>
                            <th>
                                标准名称
                            </th>
                            <th>
                                添加时间
                            </th>
                            <th>
                                操作
                            </th>
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td>
                            <asp:Label runat="server" ID="lblDesc" Text='<%#Eval("Desc").ToString()%>'></asp:Label>
                            <asp:TextBox Visible="false" runat="server" ID="txtDesc"></asp:TextBox>
                        </td>
                        <td>
                            <%#Eval("create_time").ToString() %>
                        </td>
                        <td>
                            <asp:LinkButton runat="server" ID="lbnEditStructDesc" OnClick="lbnEditStructDesc_Click">
                                编辑
                            </asp:LinkButton>
                            <asp:HiddenField runat="server" ID="hdfFid" Value='<%#Eval("StructLevelID").ToString() %>' />
                            <asp:LinkButton runat="server" ID="lbnSaveStructDesc" OnClick="lbnSaveStructDesc_Click"
                                CommandArgument='<%#Eval("StructLevelID").ToString() %>' Visible="false">
                                保存
                            </asp:LinkButton>
                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
        </div>
        <div id="divSeal" runat="server" style="display: none; margin-top: 12px">
            <!--密封测试要求-->
            <ul>
                <li>标准名称：&nbsp;<input type="text" id="txtSeal" runat="server" />
                    &nbsp; &nbsp; &nbsp;
                    <asp:Button runat="server" ID="Button7" Text="搜索" class="MaintenanceButton" OnClick="btnSearch_Click"
                        Style="background: #d91913; outline: none; border: none; color: White; padding: 5px 20px;
                        text-indent: 0px" />
                    <asp:LinkButton runat="server" ID="LinkButton6" OnClick="btnAddSeal_Click" Style="color: White;
                        text-decoration: none" CssClass="queryButton">新增标准</asp:LinkButton>
                    &nbsp; &nbsp; &nbsp; </li>
                <li id="liSeal" runat="server" visible="false" style="margin-top: 7px;">新增标准：&nbsp;<asp:TextBox
                    runat="server" ID="txtSealAdd"></asp:TextBox>&nbsp;新增等级：&nbsp;<asp:TextBox runat="server"
                        ID="txtSealCodeAdd"></asp:TextBox>
                    &nbsp; &nbsp;&nbsp;
                    <asp:LinkButton runat="server" ID="LinkButton7" OnClick="SaveNewSeal_Click" CssClass="queryButton"
                        Style="color: White; text-decoration: none; padding: 5px 20px;">保存</asp:LinkButton>
                </li>
            </ul>
            <asp:Repeater runat="server" ID="rpListSeal">
                <HeaderTemplate>
                    <table border="0" cellpadding="0" cellspacing="0" class="queryResultTable" width="94%">
                        <tr>
                            <th>
                                标准名称
                            </th>
                            <th>
                                标准等级
                            </th>
                            <th>
                                添加时间
                            </th>
                            <th>
                                操作
                            </th>
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td>
                            <asp:Label runat="server" ID="lblType" Text='<%#Eval("levelType").ToString()%>'></asp:Label>
                            <asp:TextBox Visible="false" runat="server" ID="txtType"></asp:TextBox>
                        </td>
                        <td>
                            <asp:Label runat="server" ID="lblLevel" Text='<%#Eval("Level").ToString() %>'></asp:Label>
                            <asp:TextBox runat="server" ID="txtLevel" Visible="false"></asp:TextBox>
                        </td>
                        <td>
                            <%#Eval("create_time").ToString() %>
                        </td>
                        <td>
                            <asp:LinkButton runat="server" ID="lbnEditSealDesc" OnClick="lbnEditSealDesc_Click">
                                编辑
                            </asp:LinkButton>
                            <asp:HiddenField runat="server" ID="hdfFid" Value='<%#Eval("SealLevelID").ToString() %>' />
                            <asp:LinkButton runat="server" ID="lbnSaveSealDesc" OnClick="lbnSaveSealDesc_Click"
                                CommandArgument='<%#Eval("SealLevelID").ToString() %>' Visible="false">
                                保存
                            </asp:LinkButton>
                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
        </div>
        <div id="divTemp" runat="server">
            <!--温度-->
            <ul style="padding-top: 12px;">
                <li>区间名称：&nbsp;<input type="text" id="txtTemp" runat="server" />
                    &nbsp; &nbsp; &nbsp;
                    <asp:Button runat="server" ID="Button8" Text="搜索" class="MaintenanceButton" OnClick="btnSearch_Click"
                        Style="background: #d91913; outline: none; border: none; color: White; padding: 5px 20px;
                        text-indent: 0px" />
                    <asp:LinkButton runat="server" ID="LinkButton8" OnClick="btnAddTemp_Click" Style="color: White;
                        text-decoration: none" CssClass="queryButton">新增标准</asp:LinkButton>
                    &nbsp; &nbsp; &nbsp; </li>
            </ul>
            <asp:Repeater runat="server" ID="rpTemp">
                <HeaderTemplate>
                    <table border="0" cellpadding="0" cellspacing="0" class="queryResultTable" width="94%">
                        <tr>
                            <th>
                                温度区间名称
                            </th>
                            <th>
                                区间上限（摄氏度）
                            </th>
                            <th>
                                区间下限（摄氏度）
                            </th>
                            <th>
                                价格系数
                            </th>
                            <th>
                                操作
                            </th>
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td>
                            <%#Eval("TDesc").ToString() %>
                        </td>
                        <td>
                            <%#Eval("up").ToString() %>
                        </td>
                        <td>
                            <%#Eval("down").ToString() %>
                        </td>
                        <td>
                            <%#Eval("rate").ToString() %>
                        </td>
                        <td>
                            <asp:LinkButton runat="server" ID="lbnEditTemp" OnClick="lbnEditTemp_Click" CommandArgument='<%#Eval("TempID").ToString() %>'>
                                编辑
                            </asp:LinkButton>
                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
        </div>
        <cc1:AspNetPager ID="AspNetPager1" Style="float: right" runat="server" PageSize="20"
            AlwaysShow="true" CssClass="paginator" CurrentPageButtonClass="cpb" FirstPageText="首页"
            PagingButtonSpacing="0" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页"
            OnPageChanged="AspNetPager1_pageChanged">
        </cc1:AspNetPager>
    </div>
    <div id="divMsg" style="display: none;">
        <div class="tc_header">
            <h2>
                提示</h2>
            <a id="hideMsg">
                <img src="../images/chacha.png" width="13" height="13"></a>
        </div>
        <div class="tc_content">
            <div class="tanchu03" style="min-width: 200px,min-height:80px">
                <p id="msgContent">
                </p>
            </div>
        </div>
    </div>
    <script type="text/javascript">
        $(function () {
            var page = '<%=Session["CurrentPage"] %>';
            if (page == "Material") {
                $('#liM').attr("class", "nvgBtnSelected");
            }
            if (page == "Size") {
                $('#liS').attr("class", "nvgBtnSelected");
            }
            if (page == "Design") {
                $('#liD').attr("class", "nvgBtnSelected");
            }
            if (page == "Pressure") {
                $('#liP').attr("class", "nvgBtnSelected");
            }
            if (page == "Conn") {
                $('#liC').attr("class", "nvgBtnSelected");
            }
            if (page == "Fran") {
                $('#liF').attr("class", "nvgBtnSelected");
            }
            if (page == "Struct") {
                $('#liSt').attr("class", "nvgBtnSelected");
            }
            if (page == "Seal") {
                $('#liSe').attr("class", "nvgBtnSelected");
            }
            if (page == "Temp") {
                $('#liTe').attr("class", "nvgBtnSelected");
            }
        } ())
    </script>
</asp:Content>
